package com.youth.hrsync.config;

import com.youth.hrsync.bean.kunshan.KunShanCheckinout;
import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class KSCheckinoutRowMapper implements RowMapper<KunShanCheckinout> {
    @Override
    public KunShanCheckinout mapRow(ResultSet rs, int rowNum) throws SQLException {
        KunShanCheckinout userInfo = new KunShanCheckinout();
        userInfo.setUserid(rs.getInt("userid"));
        return userInfo;
    }
}
